package edu.sctu.practice.class02.xuejiahua.java_dog;

/**
 * Created by Administrator on 2015/9/18.
 */
public class Dog {

    public int age=3;
    public int number=9527;
    public String color="小黑";
    public String sex="母";
    public String name= "小八";

    public boolean judgeAge() {

        if (age > 5) {
            return true;

        } else {
            return false;
        }
    }

    public void printName(){
        System.out.println(name);
    }

    public  void printAge(){
        System.out.println(age);
    }
    public  void printColor(){
        System.out.println(color);
    }
    public  void printNumber(){
        System.out.println(number);
    }
    public  void printSex(){
        System.out.println(sex);
    }
}

